Total Complexity | 25 |
Dependencies | 0 |
Dependents | 1 |
Total lines | 197 |
Lines of code | 75 |
Logical lines of code | 38 |
Comment lines | 93 |
Methods | 11 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
cookiebot_add_consent_attribute_to_tag() | 56 | 5 | 18 | |
cookiebot_add_consent_attribute_to_script_tag() | 70 | 3 | 6 | |
cookiebot_add_consent_attribute_to_inline_script_tag() | 70 | 3 | 6 | |
check_ignore_script() | 67 | 3 | 8 | |
is_inline_of_ignored_script() | 64 | 3 | 9 | |
__construct() | 63 | 2 | 9 | |
validate_attributes_for_consent_ignore() | 67 | 2 | 7 | |
initialize_ignore_scripts() | 79 | 1 | 3 | |
add_tag() | 80 | 1 | 3 | |
ignore_script() | 80 | 1 | 3 | |
extract_base_id_from_inline_id() | 79 | 1 | 3 |